<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>众店</title>
	<!-- 引入样式 -->
	<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
	<link rel="stylesheet" href="./css/index.css">
	<!-- 引入组件库 -->
	<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
	<script src="https://unpkg.com/element-ui/lib/index.js"></script>
	<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
	<script src="./js/flexible.js"></script>
</head>
<body>
  <div id="app">
		<div class="page_center">
			<!-- 头部 -->
			<div class="top_page">
				<div class="top_left">
					<div class="logo_div">
						<img class="logo_img" src="./image/logo.png" alt="店铺Logo">
					</div>
					<div class="bg_bn">
						<div class="company_title">众店线下商铺数字化营销工具</div>
						<div class="title_prompt">低成本搭建基于微信生态的电商小程序，助力小商户日进斗金的营销工具</div>
					</div>
					<div class="kaidian" @click="showCOverFun">
						<span>线上开店</span>
						<img class="right_arrow" src="./image/right-arrow.png" alt="">
					</div>
				</div>
				<div class="top_right">
					<img class="bg_bn2" src="./image/bg-bn2.png" alt="">
				</div>
			</div>
			<!-- 中部1 -->
			<div class="main1">
				<div class="main1_left_div">

				</div>
				<div class="main1_right_div">
					<div class="main1_title">
						<div>精心设计的小程序商城</div>
						<div>满足一切商业需求</div>
					</div>
					<div class="sort_box">
						<div class="sort_div sort_mar_rig">
							<img class="sort_img" src="./image/sort1.png" alt="">
							<div class="sort_right">
								<div class="sort_title">精美商铺模板</div>
								<div class="sort_text">把控前沿设计风格，精美商铺模板助力客户收入倍增</div>
							</div>
						</div>
						<div class="sort_div">
							<img class="sort_img" src="./image/sort2.png" alt="">
							<div class="sort_right">
								<div class="sort_title">精美商铺模板</div>
								<div class="sort_text">把控前沿设计风格，精美商铺模板助力客户收入倍增</div>
							</div>
						</div>
						<div class="sort_div">
							<img class="sort_img" src="./image/sort3.png" alt="">
							<div class="sort_right">
								<div class="sort_title">精美商铺模板</div>
								<div class="sort_text">把控前沿设计风格，精美商铺模板助力客户收入倍增</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- 中部2 -->
			<div class="main2">
				<div class="main2_title">为什么选择我们的产品</div>
				<div class="main2_center">
					<div class="main2_center_box">
						<img class="main2_img" src="./image/Introduction1.png" alt="">
						<div class="main2_box_title">轻松开店一步到位</div>
						<div class="main2_text">申请通过后，24内部署上线</div>
					</div>
					<div class="main2_center_box main2_mar_box">
						<img class="main2_img" src="./image/Introduction2.png" alt="">
						<div class="main2_box_title">无手续费分成费</div>
						<div class="main2_text">无手续费无分成费超低会员费</div>
					</div>
					<div class="main2_center_box">
						<img class="main2_img" src="./image/Introduction3.png" alt="">
						<div class="main2_box_title">专业定制化服务</div>
						<div class="main2_text">一线公司设计开发人员提供服务</div>
					</div>
				</div>
			</div>
			<!-- 中部3 -->
			<div class="main3">
				<div class="main3_title">最具诱惑力的价格</div>
				<div class="main3_text">只收取最基础的套餐费用于产品维护，杜绝手续费，分成费用</div>
				<div class="main3_center">
					<div class="main3_box">
						<div class="box_title_div">通用小店</div>
						<div class="box_money">
							<span class="money">499</span>
							<span class="money_text">/年</span>
						</div>
						<div class="free_text">
							<img class="free_img" src="./image/prompt-imt1.png" alt="">
							<span>免费赠3个月</span>
						</div>
						<div class="prompt_li">
							<div class="prompt_title">小程序主体</div>
							<div class="prompt_text">平台所有</div>
						</div>
						<div class="prompt_li prompt_border">
							<div class="prompt_title">二次开发费用</div>
							<div class="prompt_text">无</div>
						</div>
						<div class="prompt_li">
							<div class="prompt_title">小程序认证费</div>
							<div class="prompt_text">无</div>
						</div>
						<div class="get_detail" @click="showCOverFun">
							<span>了解详情</span>
							<img class="right_arrow" src="./image/right-arrow.png" alt="">
						</div>
					</div>
					<div class="main3_box box_border">
						<div class="box_title_div">独立小店</div>
						<div class="box_money">
							<span class="money">499</span>
							<span class="money_text">/年</span>
						</div>
						<div class="free_text">
							<img class="free_img" src="./image/prompt-imt1.png" alt="">
							<span>免费赠3个月</span>
						</div>
						<div class="prompt_li">
							<div class="prompt_title">小程序主体</div>
							<div class="prompt_text">店家所有</div>
						</div>
						<div class="prompt_li prompt_border">
							<div class="prompt_title">二次开发费用</div>
							<div class="prompt_text">无</div>
						</div>
						<div class="prompt_li">
							<div class="prompt_title">小程序认证费</div>
							<div class="prompt_text">微信官方收取</div>
						</div>
						<div class="get_detail" @click="showCOverFun">
							<span>了解详情</span>
							<img class="right_arrow" src="./image/right-arrow.png" alt="">
						</div>
					</div>
					<div class="main3_box">
						<div class="box_title_div dz_title_div">定制小店</div>
						<div class="box_money">
							<span class="money">499</span>
							<span class="money_text">/年</span>
						</div>
						<div class="free_text dz_clo">
							<img class="free_img" src="./image/prompt-imt2.png" alt="">
							<span>免费赠3个月</span>
						</div>
						<div class="prompt_li">
							<div class="prompt_title">小程序主体</div>
							<div class="prompt_text dz_clo">店家所有</div>
						</div>
						<div class="prompt_li prompt_border">
							<div class="prompt_title">二次开发费用</div>
							<div class="prompt_text dz_clo">待定</div>
						</div>
						<div class="prompt_li">
							<div class="prompt_title">小程序认证费</div>
							<div class="prompt_text dz_clo">微信官方收取</div>
						</div>
						<div class="get_detail dz_detail" @click="showCOverFun">
							<span>了解详情</span>
							<img class="right_arrow" src="./image/right-arrow.png" alt="">
						</div>
					</div>
				</div>
			</div>
			<!-- 底部1 -->
			<div class="bot1">
				<img class="bg_top_img" src="./image/bg-top-img.png" alt="">
				<div class="bot1_bot_box">
					<div class="bot1_box">
						<div class="bot1_left_box">
							<div class="advisory_title">有咨询需求？</div>
							<div class="contact_box">
								<div class="contact_detile_box contact_detile_box1">
									<div class="contact_img_box">
										<img class="contact_img mail_img" src="./image/mail-img.png" alt="">
									</div>
									<div class="contact_text">suzhouqigao@163.com</div>
								</div>
								<div class="contact_detile_box">
									<div class="contact_img_box">
										<img class="contact_img tel_img" src="./image/tel-img.png" alt="">
									</div>
									<div class="contact_text">18217004632</div>
								</div>
							</div>
							<div class="description_title">直接描述项目？</div>
							<div class="inp_text">项目简介</div>
							<div class="textare_div">
								<textarea class="text_area" style="border:0px;resize:none"  v-model="textVal" placeholder="请描述您的需求" name="" id="" cols="30" rows="1"></textarea>
							</div>
							<div class="inp_text">姓名</div>
							<input class="inp_val" type="text" maxlength="15" v-model="inpName" placeholder="请留下您的姓名">
							<div class="inp_text">联系方式</div>
							<input class="inp_val" type="text" maxlength="20" v-model="inpTel" placeholder="请留下您的联系方式：手机/微信/邮箱">
							<div class="sub_btn" @click="subFun">提交</div>
						</div>
						<!-- <div class="bot1_right_box">
							<img class="bot1_wechat" src="./image/wechat-img.png" alt="">
						</div> -->
					</div>
					
				</div>
				
			</div>
			<!-- 底部2 -->
			<div class="bot2">
				<div class="bot2_box">
					<div class="bot2_left">
						<img class="bot_logo" src="./image/logo2.png" alt="">
						<div class="company_name">苏州起高软件有限公司</div>
					</div>
					<div class="bot2_right">
						<img class="wechat_img" src="./image/wechat.png" alt="">
						<img class="bot2_wechat" src="./image/wechat-img.png" alt="">
					</div>
				</div>
			</div>
			<!-- 弹窗 -->
			<div class="cover cover_mes_box" v-show="coverTextShow">
				<div class="cover_message" v-html="message">asdasd</div>
			</div>

			<!-- 弹窗 -->
			<div class="cover" v-show="coverShow" @click.stop="closeCover">
				<div class="cover_box" @click.stop="cCover">
					<div class="cover_title">联系我们</div>
					<div class="cover_mail_box">
						<div class="cover_detile_box cover_detile_box1">
							<img class="cover_img mail_img" src="./image/mail-img.png" alt="">
							<div class="cover_text">suzhouqigao@163.com</div>
						</div>
						<div class="cover_detile_box">
							<img class="cover_img tel_img" src="./image/tel-img.png" alt="">
							<div class="cover_text">18217004632</div>
						</div>
					</div>
					<div class="demand_title">直接描述需求</div>
					<div class="cover_inp_box">
						<span class="cover_text_area" v-show="textCoverVal != ''">请描述您的需求</span>
						<div class="textare_div textare_cover">
							<textarea class="text_area text_cover" v-model="textCoverVal" placeholder="请描述您的需求" name="" id="" cols="30" rows="1"></textarea>
						</div>
						<span class="cover_inp_text " v-show="inpCoverName != ''">请留下姓名</span>
						<input class="inp_val inp_cover inp_val1" type="text" maxlength="15" v-model="inpCoverName" placeholder="请留下您的姓名">
						<span class="cover_inp_text1 " v-show="inpCoverTel != ''">请留下联系方式</span>
						<input class="inp_val inp_cover" type="text" maxlength="20" v-model="inpCoverTel" placeholder="请留下您的联系方式手机/微信/邮箱">
					</div>
					<div class="cover_sub_box">
						<div class="cover_sub_btn" @click="subCoverFun">提交</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script>
		new Vue({
			el:'#app',
			data:{
				coverShow:false,
				demandTextShow:false,
				telShow:false,
				textVal:'',
				inpName:'',
				inpTel:'',
				textCoverVal:'',
				inpCoverName:'',
				inpCoverTel:'',
				subState:true,
				message:'',
				coverTextShow:false,
			},
			created() {
				//axios.defaults.baseURL = 'www.yixuanshow.top';
				//axios.defaults.headers.common['Authorization'] = 'W1253302151262765056';
				axios.defaults.headers.post['Content-Type'] = 'application/json';
			},
			methods:{
				showCOverFun(){
					this.coverShow = true;
				},
				closeCover(){
					this.coverShow = false;
				},
				cCover(){},
				subFun(){
					let that = this;
					that.ajaxFun(that.textVal, that.inpName, that.inpTel);
					that.textVal='';
					that.inpName='';
					that.inpTel='';
				},
				subCoverFun(){
					let that = this;
					that.ajaxFun(that.textCoverVal, that.inpCoverName, that.inpCoverTel);
					that.textCoverVal='';
					that.inpCoverName='';
					that.inpCoverTel='';
				},
				showCoverMsg(mes){
					this.coverTextShow = true;
					console.log(this.coverTextShow)
					this.message = mes;
					setTimeout(()=>{
						this.coverTextShow = false;
					},3000)
				},
				ajaxFun(advisoryText, name, tel){
					let that = this;
					if(tel && tel != ''){
						if(!that.subState){
							return;
						}
							that.subState = false;
						setTimeout(()=>{
							that.subState = true;
						}, 3000)
						axios.post('/common/instentCustomer/apply', {
							customerName: name,
							customerPhone: tel,
							noticeContent: advisoryText
						})
						.then(function (response) {
							console.log(response);
							that.showCoverMsg('请耐心等待，稍后客服会给您联系!');
							that.closeCover();
						})
						.catch(function (error) {
							console.log(error);
						});
					}else{
						this.showCoverMsg('请填写联系方式');
						return;
					}
				}
			}
		})

	</script>
</body>
</html>